package mycollections.map;

public interface  MyMap <K,V> extends Iterable<MyMap.Entry<K,V>> {
    void clear();
    boolean containsKey(K key);
    boolean containsValue(V value);
    V get(K key);
    boolean isEmpty();
    V put(K key, V value);
    int size();
    V remove(K key);
    interface Entry<K,V>{
        K getKey();
        V setValue(V value);
        V getValue();
    }
}
